home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem ==--=StarBar archive extractor batch file=--==
- rem DOS BAT
- rem
- rem ========================================================================
- rem
- rem first parameter : Path to node-specific temp dir
- rem second parameter : Path and File to be examined
- rem
- rem ========================================================================
- rem
-
- md %1
-
- cd %1
-
- if exist %1\*.arj goto ARJ
- if exist %1\*.zip goto ZIP
- if exist %1\*.lzh goto LHA
- if exist %1\*.rar goto UNRAR
- if exist %1\*.arc goto PKUNPAK
- if exist %1\*.zoo goto ZOO
- if exist %1\*.pak goto PAK
-
- rem Add any other archivers you wish to support here, then follow the
- rem examples below on extracting the info...
-
- goto end
-
- :ARJ
- arj e -y %2 *.*
- goto end
-
- :ZIP
- pkunzip -o %2 *.*
- goto end
-
- :LHA
- lha e /m+c+ %2 *.*
- goto end
-
- :UNRAR
- unrar e -o+ %2 *.*
- goto end
-
- :PKUNPAK
- pkunpak -r %2 *.*
- goto end
-
- :ZOO
- zoo.exe e %2 *.*
- goto end
-
- :PAK
- pak e/WA %2 *.*
- goto end
-
- :end
-